package com.woniuxy.table.client.param;

import lombok.Data;
import utils.EnumValue;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class AddTableUsedRecordParam {
    @NotNull
    private Integer tableId;
    @NotNull
    private Integer storeId;
    @NotNull
    private Integer diningPerson;
    @NotNull
    private Date usedTime;
    @NotNull
    @EnumValue(strValues = {"CANCELLED","ORDERING"})
    private String tableUsedState;
}
